package com.shire.shire_interface.dao.clientversion;

import com.shire.shire_interface.model.clientversion.ClientVersion;
import com.shire.shire_interface.model.clientversion.ClientVersionExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ClientVersionDao {
    long countByExample(ClientVersionExample example);

    int deleteByExample(ClientVersionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ClientVersion record);

    int insertSelective(ClientVersion record);

    List<ClientVersion> selectByExample(ClientVersionExample example);

    ClientVersion selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ClientVersion record, @Param("example") ClientVersionExample example);

    int updateByExample(@Param("record") ClientVersion record, @Param("example") ClientVersionExample example);

    int updateByPrimaryKeySelective(ClientVersion record);

    int updateByPrimaryKey(ClientVersion record);
}